View Issue Details

IDProjectCategoryView StatusLast Update
0000837T99X171.00 SKB EagleSW Issuepublic2020-10-21 10:59
Reporter(ALTech) SY Yoon Assigned To(SW) Kerwin Chen Due Date2020-05-20 19:08
PrioritynormalSeveritys2-severeReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000837: New RCU - Add RCU info
DescriptionCould you add RCU info for Low Cost RCU.
Please refer "RCU Info" tab in document that I attached.
I marked yellow color.
This is for Android 9 first. And we will have BMT for new RCU next month.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) Jason Park

Activities

(ALTech) SY Yoon

2020-05-14 18:13

developer  

(SW) Kerwin Chen

2020-05-14 20:18

developer   ~0003578

Hi Mr. Yoon,

Could you double check if the key code in RemoteSolution's BA02 is correct or not ?
I think it should be '660' instead of '560'.
Thanks !
Remote_BA02_B4.png (5,699 bytes)   
Remote_BA02_B4.png (5,699 bytes)   

(SW) Kerwin Chen

2020-05-15 15:17

developer   ~0003585

Hi Mr. Yoon,

I put patch for new RCU info key mapping.
Please forward to TVS and verify the result.
I will commit to BitBucket after TVS finish tests.
Thanks !
0001-update-RCU-info-key-for-BA02-and-BT11-1-2.patch (4,375 bytes)   
From 1b58814eb473d741150b0579906617e487891a01 Mon Sep 17 00:00:00 2001
From: kerwin <kerwin.chen@foxconn.com>
Date: Fri, 15 May 2020 15:13:20 +0800
Subject: [PATCH] update RCU info key for BA02 and BT11 [1/2]

---
 .../boot/dts/amlogic/g12a_s905x2_BFX-AT100_3g.dts  | 68 +++++++++++++++++++++-
 drivers/amlogic/input/remote/rc_common.h           |  3 +-
 2 files changed, 68 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/amlogic/g12a_s905x2_BFX-AT100_3g.dts b/arch/arm/boot/dts/amlogic/g12a_s905x2_BFX-AT100_3g.dts
index 93911fb..f0ca103 100644
--- a/arch/arm/boot/dts/amlogic/g12a_s905x2_BFX-AT100_3g.dts
+++ b/arch/arm/boot/dts/amlogic/g12a_s905x2_BFX-AT100_3g.dts
@@ -1477,7 +1477,7 @@
 	map_0 {  /* for Eagle Project, BA01 */
 		customcode = <0x7f80>; /* Mode 1 */
 		release_delay = <80>;
-		size  = <214>;							/*default is 60*/
+		size  = <234>;							/*default is 60*/
 		keymap = <REMOTE_KEY(0x01,KEY_POWER) 	/*NO.1 and NO.3, power*/
 			REMOTE_KEY(0x47,127) 			/*NO.4, menu*/
 			REMOTE_KEY(0x56,264) 				/*NO.5, favorite channel, scan code = 264 */
@@ -1653,6 +1653,22 @@
 			REMOTE_KEY(0x83F3,616)
 			REMOTE_KEY(0x84F3,617)
 
+// Vendor : BT11
+// Vendor : 0xF3(remote), Version : 0xA0 ~ 0xA4, Total : 5
+			REMOTE_KEY(0xA0F3,694)
+			REMOTE_KEY(0xA1F3,695)
+			REMOTE_KEY(0xA2F3,696)
+			REMOTE_KEY(0xA3F3,697)
+			REMOTE_KEY(0xA4F3,698)
+
+// Vendor : BA02
+// Vendor : 0xF3(remote), Version : 0xB0 ~ 0xB4, Total : 5
+			REMOTE_KEY(0xB0F3,656)
+			REMOTE_KEY(0xB1F3,657)
+			REMOTE_KEY(0xB2F3,658)
+			REMOTE_KEY(0xB3F3,659)
+			REMOTE_KEY(0xB4F3,660)
+
 // Vendor : BT02
 // Vendor : 0xF4(movon), Version : 0x0 ~ 0xA, Total : 11
 			REMOTE_KEY(0x00F4,576)
@@ -1731,6 +1747,22 @@
 			REMOTE_KEY(0x83F4,648)
 			REMOTE_KEY(0x84F4,649)
 
+// Vendor : BT11
+// Vendor : 0xF4(movon), Version : 0xA0 ~ 0xA4, Total : 5
+			REMOTE_KEY(0xA0F4,710)
+			REMOTE_KEY(0xA1F4,711)
+			REMOTE_KEY(0xA2F4,712)
+			REMOTE_KEY(0xA3F4,713)
+			REMOTE_KEY(0xA4F4,714)
+
+// Vendor : BA02
+// Vendor : 0xF4(movon), Version : 0xB0 ~ 0xB4, Total : 5
+			REMOTE_KEY(0xB0F4,678)
+			REMOTE_KEY(0xB1F4,679)
+			REMOTE_KEY(0xB2F4,680)
+			REMOTE_KEY(0xB3F4,681)
+			REMOTE_KEY(0xB4F4,682)
+
 // Vendor : BT07
 // Vendor : 0xF5(UEI), Version : 0x40 ~ 0x4A, Total : 11
 			REMOTE_KEY(0x40F5,720)
@@ -1772,7 +1804,7 @@
 	map_1 {  /* for Eagle Project, BA01 */
 		customcode = <0xa0f5>; /* Mode 2 */
 		release_delay = <80>;
-		size  = <214>;
+		size  = <234>;
 		keymap = <REMOTE_KEY(0x01,KEY_POWER) 	/*NO.1 and NO.3, power*/
 			REMOTE_KEY(0x47,127) 			/*NO.4, menu*/
 			REMOTE_KEY(0x56,264) 				/*NO.5, favorite channel, scan code = 264 */
@@ -1947,6 +1979,22 @@
 			REMOTE_KEY(0x83F3,616)
 			REMOTE_KEY(0x84F3,617)
 
+// Vendor : BT11
+// Vendor : 0xF3(remote), Version : 0xA0 ~ 0xA4, Total : 5
+			REMOTE_KEY(0xA0F3,694)
+			REMOTE_KEY(0xA1F3,695)
+			REMOTE_KEY(0xA2F3,696)
+			REMOTE_KEY(0xA3F3,697)
+			REMOTE_KEY(0xA4F3,698)
+
+// Vendor : BA02
+// Vendor : 0xF3(remote), Version : 0xB0 ~ 0xB4, Total : 5
+			REMOTE_KEY(0xB0F3,656)
+			REMOTE_KEY(0xB1F3,657)
+			REMOTE_KEY(0xB2F3,658)
+			REMOTE_KEY(0xB3F3,659)
+			REMOTE_KEY(0xB4F3,660)
+
 // Vendor : BT02
 // Vendor : 0xF4(movon), Version : 0x0 ~ 0xA, Total : 11
 			REMOTE_KEY(0x00F4,576)
@@ -2025,6 +2073,22 @@
 			REMOTE_KEY(0x83F4,648)
 			REMOTE_KEY(0x84F4,649)
 
+// Vendor : BT11
+// Vendor : 0xF4(movon), Version : 0xA0 ~ 0xA4, Total : 5
+			REMOTE_KEY(0xA0F4,710)
+			REMOTE_KEY(0xA1F4,711)
+			REMOTE_KEY(0xA2F4,712)
+			REMOTE_KEY(0xA3F4,713)
+			REMOTE_KEY(0xA4F4,714)
+
+// Vendor : BA02
+// Vendor : 0xF4(movon), Version : 0xB0 ~ 0xB4, Total : 5
+			REMOTE_KEY(0xB0F4,678)
+			REMOTE_KEY(0xB1F4,679)
+			REMOTE_KEY(0xB2F4,680)
+			REMOTE_KEY(0xB3F4,681)
+			REMOTE_KEY(0xB4F4,682)
+
 // Vendor : BT07
 // Vendor : 0xF5(UEI), Version : 0x40 ~ 0x4A, Total : 11
 			REMOTE_KEY(0x40F5,720)
diff --git a/drivers/amlogic/input/remote/rc_common.h b/drivers/amlogic/input/remote/rc_common.h
index 762a972..9ec2c93 100644
--- a/drivers/amlogic/input/remote/rc_common.h
+++ b/drivers/amlogic/input/remote/rc_common.h
@@ -10,7 +10,8 @@
 
 #include <linux/types.h>
 
-#define MAX_KEYMAP_SIZE 256
+//#define MAX_KEYMAP_SIZE 256 //VaS Kerwin modified for new low cost RTK RCU
+#define MAX_KEYMAP_SIZE 384
 #define CUSTOM_NAME_LEN 64
 
 /*to ensure kernel and user spase use the same header file*/
-- 
2.7.4

0001-update-RCU-info-key-for-BA02-and-BT11-2-2.patch (2,915 bytes)   
From 52477e13fbd176489b25547556652b17952cef2b Mon Sep 17 00:00:00 2001
From: kerwin <kerwin.chen@foxconn.com>
Date: Fri, 15 May 2020 15:14:03 +0800
Subject: [PATCH] update RCU info key for BA02 and BT11 [2/2]

---
 .../products/BFX-AT100/Vendor_0001_Product_0001.kl | 52 +++++++++++++++++-----
 1 file changed, 42 insertions(+), 10 deletions(-)

diff --git a/common/products/BFX-AT100/Vendor_0001_Product_0001.kl b/common/products/BFX-AT100/Vendor_0001_Product_0001.kl
index 0fe383d..77e3336 100644
--- a/common/products/BFX-AT100/Vendor_0001_Product_0001.kl
+++ b/common/products/BFX-AT100/Vendor_0001_Product_0001.kl
@@ -342,11 +342,11 @@ key 690 SKB_FUNC_17		# 0x2b2
 key 691 SKB_FUNC_17		# 0x2b3
 key 692 SKB_FUNC_17		# 0x2b4
 key 693 SKB_FUNC_17		# 0x2b5
-key 694 SKB_FUNC_17		# 0x2b6
-key 695 SKB_FUNC_17		# 0x2b7
-key 696 SKB_FUNC_17		# 0x2b8
-key 697 SKB_FUNC_17		# 0x2b9
-key 698 SKB_FUNC_17		# 0x2ba
+#key 694 SKB_FUNC_17		# 0x2b6
+#key 695 SKB_FUNC_17		# 0x2b7
+#key 696 SKB_FUNC_17		# 0x2b8
+#key 697 SKB_FUNC_17		# 0x2b9
+#key 698 SKB_FUNC_17		# 0x2ba
 
 ## BT08
 ## Vendor : 0xF3(remote), Version : 0x50 ~ 0x54
@@ -380,6 +380,22 @@ key 615 SKB_FUNC_17		# 0x267
 key 616 SKB_FUNC_17		# 0x268
 key 617 SKB_FUNC_17		# 0x269
 
+## BT11
+## Vendor : 0xF3(remote), Version : 0xA0 ~ 0xA4
+key 694 SKB_FUNC_17		# 0x2B6
+key 695 SKB_FUNC_17		# 0x2B7
+key 696 SKB_FUNC_17		# 0x2B8
+key 697 SKB_FUNC_17		# 0x2B9
+key 698 SKB_FUNC_17		# 0x2BA
+
+## BA02
+## Vendor : 0xF3(remote), Version : 0xB0 ~ 0xB4
+key 656 SKB_FUNC_17		# 0x290
+key 657 SKB_FUNC_17		# 0x291
+key 658 SKB_FUNC_17		# 0x292
+key 659 SKB_FUNC_17		# 0x293
+key 660 SKB_FUNC_17		# 0x294
+
 ## BT02
 ## Vendor : 0xF4(movon), Version : 0x0 ~ 0xA
 key 576 SKB_FUNC_17		# 0x240
@@ -430,11 +446,11 @@ key 706 SKB_FUNC_17     # 0x2c2
 key 707 SKB_FUNC_17     # 0x2c3
 key 708 SKB_FUNC_17     # 0x2c4
 key 709 SKB_FUNC_17     # 0x2c5
-key 710 SKB_FUNC_17     # 0x2c6
-key 711 SKB_FUNC_17     # 0x2c7
-key 712 SKB_FUNC_17     # 0x2c8
-key 713 SKB_FUNC_17     # 0x2c9
-key 714 SKB_FUNC_17     # 0x2ca
+#key 710 SKB_FUNC_17     # 0x2c6
+#key 711 SKB_FUNC_17     # 0x2c7
+#key 712 SKB_FUNC_17     # 0x2c8
+#key 713 SKB_FUNC_17     # 0x2c9
+#key 714 SKB_FUNC_17     # 0x2ca
 
 ## BT08
 ## Vendor : 0xF4(movon), Version : 0x50 ~ 0x54
@@ -468,6 +484,22 @@ key 647 SKB_FUNC_17		# 0x287
 key 648 SKB_FUNC_17		# 0x288
 key 649 SKB_FUNC_17		# 0x289
 
+## BT11
+## Vendor : 0xF4(movon), Version : 0xA0 ~ 0xA4
+key 710 SKB_FUNC_17		# 0x2C6
+key 711 SKB_FUNC_17		# 0x2C7
+key 712 SKB_FUNC_17		# 0x2C8
+key 713 SKB_FUNC_17		# 0x2C9
+key 714 SKB_FUNC_17		# 0x2CA
+
+## BA02
+## Vendor : 0xF4(movon), Version : 0xB0 ~ 0xB4
+key 678 SKB_FUNC_17		# 0x2A6
+key 679 SKB_FUNC_17		# 0x2A7
+key 680 SKB_FUNC_17		# 0x2A8
+key 681 SKB_FUNC_17		# 0x2A9
+key 682 SKB_FUNC_17		# 0x2AA
+
 ## BT07
 ## Vendor : 0xF5(UEI), Version : 0x40 ~ 0x4A
 key 720 SKB_FUNC_17		# 0x2d0
-- 
2.7.4

(ALTech) Jason Park

2020-06-18 11:17

developer   ~0003689

hi kerwin

it is verified by TVstrom.
if it have some problem, we will reopen it.

Thanks

(ALTech) Jason Park

2020-10-21 10:59

developer   ~0004694

it is closed

Issue History

Date Modified Username Field Change
2020-05-14 18:13 (ALTech) SY Yoon New Issue
2020-05-14 18:13 (ALTech) SY Yoon Status new => assigned
2020-05-14 18:13 (ALTech) SY Yoon Assigned To => (SW) Kerwin Chen
2020-05-14 18:13 (ALTech) SY Yoon File Added: SKB_STB_RCU_keycode_LIST_20200514_v3.8_forFoxconn_Eng.xlsx
2020-05-14 18:16 (ALTech) SY Yoon Issue Monitored: (ALTech) Jason Park
2020-05-14 20:18 (SW) Kerwin Chen File Added: Remote_BA02_B4.png
2020-05-14 20:18 (SW) Kerwin Chen Note Added: 0003578
2020-05-15 15:17 (SW) Kerwin Chen File Added: 0001-update-RCU-info-key-for-BA02-and-BT11-1-2.patch
2020-05-15 15:17 (SW) Kerwin Chen File Added: 0001-update-RCU-info-key-for-BA02-and-BT11-2-2.patch
2020-05-15 15:17 (SW) Kerwin Chen Note Added: 0003585
2020-06-10 09:50 (ALTech) Jason Park Category SW => SW Issue
2020-06-10 09:50 (ALTech) Jason Park Description Updated
2020-06-18 11:17 (ALTech) Jason Park Note Added: 0003689
2020-06-18 11:17 (ALTech) Jason Park Status assigned => resolved
2020-06-18 11:17 (ALTech) Jason Park Resolution open => fixed
2020-10-21 10:59 (ALTech) Jason Park Note Added: 0004694
2020-10-21 10:59 (ALTech) Jason Park Status resolved => closed